<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@include file="/view/inc/include.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<security:csrfMetaTags />
<style type="text/css">
	.panel-body-noborder {
		border-top-width: 1px;
	}
</style>
<script type="text/javascript" src='${basepath}view/sys/onlineuser/onlineusermng.js'></script>
<script type="text/javascript">
$(function() {
	init();
});
</script>
</head>
<body>
<div style="width: 100%;height: 100%">
<table id="onlineuserdg" class="easyui-datagrid" style="width: 100%; height: 100%"
	data-options="
			border:false,
			toolbar: '#tb',
			onDblClickRow:function(rowIndex, rowData){
								//beginEdit('publogdg',rowIndex);
						  }
		">
	<thead>
		<tr>
			<th data-options="field: 'checked', checkbox:true"></th>
				<th data-options="field:'userCode',width:120">登录账号</th>
				<th data-options="field:'userName',width:150">用户名称</th>
				<th data-options="field:'loginIp',width:120">登录IP</th>
				<th data-options="field:'loginDate',width:150">登录时间</th>
				<th data-options="field:'lastRequest',width:150">最后操作时间</th>
				<th data-options="field:'sessionId',width:250">回话ID</th>
		</tr>
	</thead>
</table>
<div id="tb" style="height: auto">
	<a href="javascript:void(0)" class="easyui-linkbutton"
		data-options="iconCls:'icon-status_offline',plain:true" onclick="kickOut()">踢下线</a>
    <a href="javascript:void(0)" class="easyui-linkbutton"
        data-options="iconCls:'icon-arrow_refresh',plain:true" onclick="init()">刷新</a>
</div>
</div>
</body>
</html>